//
//  EJLayoutConstraint.m
//  EJTools
//
//  Created by ejiang on 2020/8/11.
//  Copyright © 2020 LiuShuang. All rights reserved.
//

#import "EJLayoutConstraint.h"

@implementation EJLayoutConstraint

- (void)awakeFromNib {
    [super awakeFromNib];

    if (self.constant == 0.5) {
        self.constant = 1 / [UIScreen mainScreen].scale;
    }
}

@end
